<?
session_start();
session_unset($_SESSION['uid']);
session_destroy();
header( 'Location: ./index.php?logged=out' ) ;
die();
?>